package com.sam.gui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.webkit.*;

import com.sam.gui.base.BaseWebActivity;
import com.sam.ui.base.activity.BaseActivity;

public class AppointmentDetailsWebActivity extends BaseWebActivity {

    @Override
    protected void initView() {
        super.initView();
        String req_id, dopost;
        Bundle bundle = this.getIntent().getExtras();
        // 接受传过来的userid
        req_id = bundle.getString("req_id");
        dopost = bundle.getString("dopost");
        setContentUrl("index.php?c=user&a=user_view_yuyue&req_id="+req_id+"&dopost="+dopost);
    }

    @JavascriptInterface
    public void wzjlxq(){
        Intent intent = new Intent(this, DiagnosisRecordWebActivity.class);
        startActivity(intent);
    }

    @JavascriptInterface
    public void submitSuccess(){
        finish();
    }
}
